CREATE TABLE [dbo].[SSQHistory](
	[OpenIdentity] [nvarchar](10) NOT NULL,
	[OpenDate] [date] NOT NULL,
	[R01] [bit] NOT NULL DEFAULT 0,
	[R02] [bit] NOT NULL DEFAULT 0,
	[R03] [bit] NOT NULL DEFAULT 0,
	[R04] [bit] NOT NULL DEFAULT 0,
	[R05] [bit] NOT NULL DEFAULT 0,
	[R06] [bit] NOT NULL DEFAULT 0,
	[R07] [bit] NOT NULL DEFAULT 0,
	[R08] [bit] NOT NULL DEFAULT 0,
	[R09] [bit] NOT NULL DEFAULT 0,
	[R10] [bit] NOT NULL DEFAULT 0,
	[R11] [bit] NOT NULL DEFAULT 0,
	[R12] [bit] NOT NULL DEFAULT 0,
	[R13] [bit] NOT NULL DEFAULT 0,
	[R14] [bit] NOT NULL DEFAULT 0,
	[R15] [bit] NOT NULL DEFAULT 0,
	[R16] [bit] NOT NULL DEFAULT 0,
	[R17] [bit] NOT NULL DEFAULT 0,
	[R18] [bit] NOT NULL DEFAULT 0,
	[R19] [bit] NOT NULL DEFAULT 0,
	[R20] [bit] NOT NULL DEFAULT 0,
	[R21] [bit] NOT NULL DEFAULT 0,
	[R22] [bit] NOT NULL DEFAULT 0,
	[R23] [bit] NOT NULL DEFAULT 0,
	[R24] [bit] NOT NULL DEFAULT 0,
	[R25] [bit] NOT NULL DEFAULT 0,
	[R26] [bit] NOT NULL DEFAULT 0,
	[R27] [bit] NOT NULL DEFAULT 0,
	[R28] [bit] NOT NULL DEFAULT 0,
	[R29] [bit] NOT NULL DEFAULT 0,
	[R30] [bit] NOT NULL DEFAULT 0,
	[R31] [bit] NOT NULL DEFAULT 0,
	[R32] [bit] NOT NULL DEFAULT 0,
	[R33] [bit] NOT NULL DEFAULT 0,
	[Blue] [int] NULL,
 CONSTRAINT [PK_SSQHistory] PRIMARY KEY CLUSTERED 
([OpenIdentity] ASC)ON [PRIMARY])

GO